package com.leyou.system.dto;

import lombok.Data;

import java.awt.print.PrinterAbortException;
import java.util.List;

/**
 * Date: 2019/11/28
 * Author: L
 * Description: 权限DTO类
 */
@Data
public class PermissionDTO {

    // 菜单id
    private Integer id;

    // 菜单名称
    private String name;

    // 菜单地址
    private String path;

    // 图标
    private String action;

    // 父id
    private Integer parentId;

    // 二级菜单列表
    private List<PermissionDTO> itemList;

    //父菜单
    private List<PermissionDTO> parent;

    //是否是父菜单
    private Boolean isParent;
}
